.container {
  .content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    // 竖图布局（默认）
    .mainContent {
      display: flex;
      gap: 24px;
      margin-bottom: 24px;

      .posterSection {
        flex-shrink: 0;
        width: 35%;
        max-width: 400px;
        
        .posterWrapper {
          position: relative;
          width: 100%;
          background: #f5f5f5;
          border-radius: 8px;
          overflow: hidden;
          
          &::before {
            content: '';
            display: block;
            padding-bottom: 133.33%;
          }
          
          :global {
            .ant-image {
              position: absolute;
              top: 0;
              left: 0;
              right: 0;
              bottom: 0;
              display: flex !important;
              align-items: center;
              justify-content: center;
              
              img {
                max-width: 100%;
                max-height: 100%;
                object-fit: contain;
              }
            }
          }
        }
      }

      .basicInfo {
        flex: 1;
        min-width: 0;

        .infoGrid {
          height: 100%;
          display: flex;
          flex-direction: column;
          background: #fff;
          padding: 16px;
          border-radius: 8px;
          border: 1px solid #f0f0f0;

          .infoItem {
            display: flex;
            align-items: flex-start;
            padding: 8px 0;
            border-bottom: 1px solid #f0f0f0;

            &:last-child {
              border-bottom: none;
            }

            .label {
              color: #666;
              font-weight: 500;
              width: 80px;
              flex-shrink: 0;
            }

            .value {
              color: #262626;
              flex: 1;
              min-width: 0;

              .tagList {
                display: flex;
                flex-wrap: wrap;
                gap: 8px;
              }
            }
          }
        }
      }

      @media screen and (max-width: 768px) {
        flex-direction: column;
        gap: 16px;

        .posterSection {
          width: 100%;
          max-width: 300px;
          margin: 0 auto;
        }

        .basicInfo {
          .infoGrid {
            padding: 12px;

            .infoItem {
              padding: 6px 0;
            }
          }
        }
      }
    }

    // 横图布局
    &.horizontal {
      .mainContent {
        flex-direction: column;

        .posterSection {
          width: 100%;
          max-width: 1400px;
          margin: 0 auto;
          
          .posterWrapper {
            &::before {
              padding-bottom: 56.25%;
            }
          }
        }

        .basicInfo {
          margin-top: 24px;
          
          .infoGrid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0;
            
            .infoItem {
              padding: 12px 16px;
              border: none;
              border-bottom: 1px solid #f0f0f0;
              border-right: 1px solid #f0f0f0;

              &:nth-child(2n) {
                border-right: none;
              }

              &:last-child:nth-child(2n-1) {
                grid-column: 1 / -1;
              }
            }

            @media screen and (max-width: 768px) {
              grid-template-columns: 1fr;
              
              .infoItem {
                border-right: none;
              }
            }
          }
        }
      }
    }
  }

  .description {
    margin-bottom: 24px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;

    .label {
      color: #666;
      font-weight: 500;
      margin-bottom: 8px;
    }

    .value {
      color: #262626;
      line-height: 1.6;
      white-space: pre-wrap;
    }

    @media screen and (max-width: 768px) {
      padding: 12px;
      margin-bottom: 16px;
    }
  }

  .playSourceSection {
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;

    .sectionTitle {
      margin: 0 0 16px;
      font-size: 16px;
      font-weight: 500;
      color: #666;
    }

    .sourceList {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;

      .sourceItem {
        display: inline-block;
        padding: 8px 16px;
        background: #f5f5f5;
        border-radius: 4px;
        color: #1890ff;
        text-decoration: none;
        transition: all 0.3s;
        
        &:hover {
          background: #e6f7ff;
        }
      }

      @media screen and (max-width: 768px) {
        gap: 8px;

        .sourceItem {
          padding: 6px 12px;
          font-size: 14px;
        }
      }
    }
  }

  .emptySource {
    width: 100%;
    padding: 24px;
    text-align: center;
    color: #999;
    background: #fafafa;
    border-radius: 4px;

    @media screen and (max-width: 768px) {
      padding: 16px;
    }
  }
} 